package com.subaiqiao.yunshiyuan.entrance.ysy.service.impl;

import com.subaiqiao.yunshiyuan.basis.service.impl.BasisServiceImpl;
import com.subaiqiao.yunshiyuan.entrance.ysy.mapper.ArticleMapper;
import com.subaiqiao.yunshiyuan.entrance.ysy.pojo.Article;
import com.subaiqiao.yunshiyuan.entrance.ysy.service.ArticleService;
import com.subaiqiao.yunshiyuan.entrance.ysy.vo.ArticleVO;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 曹朝禹
 * @since 2022-05-13
 */
@Service
@Transactional
public class ArticleServiceImpl extends BasisServiceImpl<Article, ArticleMapper> implements ArticleService {

    @Override
    public ArticleVO FindById(Integer articleId) {
        return baseMapper.FindById(articleId);
    }

    @Override
    public Integer FindArticleCount() {
        return baseMapper.FindArticleCount();
    }

    @Override
    public Integer FindArticleDisableCount() {
        return baseMapper.FindArticleDisableCount();
    }

    @Override
    public Integer FindArticleCountYesterdayRegister() {
        return baseMapper.FindArticleCountYesterdayRegister();
    }

    @Override
    public Integer FindCount() {
        return null;
    }

    @Override
    public ArticleMapper getMapper() {
        return null;
    }
}
